g_object_unref (object);
}
else
- gtk_widget_reparent (widget, new_parent);
+ {
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
+ gtk_widget_reparent (widget, new_parent);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
+ }
if (was_floating)
g_object_force_floating (object);
*
* Moves a widget from one #GtkContainer to another, handling reference
* count issues to avoid destroying the widget.
+ *
+ * @Deprecated: 3.14. Use gtk_container_remove() and gtk_container_add().
**/
void
gtk_widget_reparent (GtkWidget *widget,
GDK_AVAILABLE_IN_ALL
gboolean gtk_widget_activate (GtkWidget *widget);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_14
void gtk_widget_reparent (GtkWidget *widget,
GtkWidget *new_parent);
GDK_AVAILABLE_IN_ALL